<style type="text/css">
<!--
#ppublic { }
#ppublic form { margin: 0px; padding: 0px; }
#ppublic .ptitle { font-size: 14px; font-weight: bold; color: #333; padding-top: 10px; padding-bottom: 5px; }
#ppublic .pform { padding-bottom: 8px; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: #E1E1E1; }
#ppublic .pbtn { color:red; padding-top:10px; padding-bottom: 5px; }
#ppublic .pbtn .btn { padding-top: 4px; padding-right: 4px; padding-left: 4px; padding-bottom: 0px; width: 50px; }
-->
</style>
<div id="ppublic">
	<form id="frm" name="frm" method="post" onsubmit="var state=true;if(state){if(frm.cid.value==0){alert('{lang.nullcid}');state=false;}}if(state){if(frm.cid.value==-1){alert('{lang.cantpub}');state=false;}}if(state){if (frm.cid.value==-2){alert('lang.nullpower');state=false;}}if(state){if(frm.title.value.length<2){alert('{lang.nulltitle}');state=false;}}return state;" action="index.asp?action=do">
		<div class="ptitle">{lang.help}</div>
		<div class="pform" style="color:red;font-size:12px">{config.helpinfo}</div>
		<div class="ptitle">{lang.channel}</div>
		<div class="pform">{sys:selectchannel(0,"name='cid' id='cid'","{config.channelid}")}</div>
		<div class="ptitle">{lang.title} *</div>
		<div class="pform">
			<input name="title" type="text" class="input" id="title" size="60" />
		</div>
		<div class="ptitle" {sndisplay}>{lang.sn}</div>
		<div class="pform" {sndisplay}>
			<input name="sn" type="text" class="input" id="sn" size="20" />
			<img src="code.asp" alt="{sn}" title="{lang.snalt}" style="cursor:hand;" onclick="src='code.Asp?s='+Math.random()"/></div>
		<div class="ptitle">{lang.content} *</div>
		<div class="pform">{sys:createeditor("content","","FCKEditor",Array("100%","{config.editorheight}","{config.editormode}"))}</div>
		<div class="ptitle">{lang.author}</div>
		<div class="pform">
			<input name="author" type="text" class="input" id="author" size="20" />
		</div>
		<div class="ptitle">{lang.source}</div>
		<div class="pform">
			<input name="source" type="text" class="input" id="source" size="20" />
		</div>
		<div class="pbtn">
			<input name="submit" type="submit" value="{lang.submit}" class="btn" />
			<input name="gohome" type="button" value="{lang.gohome}" class="btn" />
		</div>
	</form>
</div>
